package edu.predatorwars.shared.models;

import java.util.UUID;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

public class PlayerGamePayload {

	private final Player player;
	private final UUID gameId;
	
	@JsonCreator
	public PlayerGamePayload(@JsonProperty("player") Player player, @JsonProperty("gameId") UUID gameId) {
		this.player = player;
		this.gameId = gameId;
	}

	public Player getPlayer() {
		return player;
	}

	public UUID getGameId() {
		return gameId;
	}
}
